import dict4ini
import os
cfg = dict4ini.DictIni(os.path.join(os.path.dirname(__file__), 'config.ini'))
#cfg = dict4ini.DictIni('config.ini')